<ul data-bind="template: { name: 'li-tmpl', foreach: li }">
	<li data-bind="text: $data"></li>
</ul>

<script src="/public/js/MenuViewModel.js" type="text/javascript"></script>
<script>
	var menuViewModel = new MenuViewModel();
	$( document ).ready( function(){ ko.applyBindings( menuViewModel, document.getElementById( 'MenuViewModel' ) ); } );
</script>